<?php
/**
 * Created by PhpStorm.
 * User: james
 * Date: 17-4-7
 * Time: 下午3:26
 */

namespace models;

class CustomFormModel extends C_Model {

    public function __construct() {

        //创建model对象并初始化数据表名称
        parent::__construct('custom_form');

        //设置表数据表主键，默认为id
        $this->setPrimaryKey('id');
		$this->autoPrimary = false;

    }
} 
